import request from '@/libs/request';

export default {
	getFileList: (options = {}) => {
		return request.post('/file/list', {}, options)
	},
	//获取安全文件列表
	getPublicFileList: (params = {}, options = {}) => {
		return request.get('/document/security/list', params, options)
	},
	//添加安全文件
	addPublicFile: (params = {}, options = {}) => {
		return request.post('/document/security/add', params, options)
	},
	//删除安全文件
	delPublicFile: (params = {}, options = {}) => {
		return request.post('/document/security/delete', params, options)
	},
	//彻底删除安全文件
	clearPublicFile: (params = {}, options = {}) => {
		return request.post('/document/security/clear', params, options)
	},
	//还原安全文件
	restorePublicFile: (params = {}, options = {}) => {
		return request.post('/document/security/restore', params, options)
	}
}